package com.lcg.learn.factory.factoryMethod.model;

public class OrangeJuiceModel extends JuiceModel {

    private String color;

    @Override
    public void makeJuice() {
        this.setJuiceName("orangeJuice");
        this.setJuicePrice("45￥");
        this.setJuiceDate("2020-09-09");
        this.setColor("yellow");

        System.out.println("生产："+this.getJuiceName()+" "+this.getJuicePrice()+" "+this.getJuiceDate()+",color: "+this.getColor());
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}
